<?php
/**
 * UserFixture
 *
 */
class UserFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf16_unicode_ci', 'charset' => 'utf16'),
		'email' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf16_unicode_ci', 'charset' => 'utf16'),
		'phone' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 20, 'collate' => 'utf16_unicode_ci', 'charset' => 'utf16'),
		'isRegistered' => array('type' => 'boolean', 'null' => false, 'default' => '0'),
		'created' => array('type' => 'datetime', 'null' => false, 'default' => null),
		'modified' => array('type' => 'datetime', 'null' => false, 'default' => null),
		'pwd_hash' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf16_unicode_ci', 'charset' => 'utf16'),
		'isVisible' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
		'passSeed' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf16_unicode_ci', 'charset' => 'utf16'),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1)
		),
		'tableParameters' => array('charset' => 'utf16', 'collate' => 'utf16_unicode_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'name' => 'Lorem ipsum dolor sit amet',
			'email' => 'Lorem ipsum dolor sit amet',
			'phone' => 'Lorem ipsum dolor ',
			'isRegistered' => 1,
			'created' => '2013-11-10 19:19:22',
			'modified' => '2013-11-10 19:19:22',
			'pwd_hash' => 'Lorem ipsum dolor sit amet',
			'isVisible' => 1,
			'passSeed' => 'Lorem ipsum dolor sit amet'
		),
	);

}
